

<div class="mainWarpArea">
    <!-- Begin contentwarp -->
    <div class="contentwarp">
      <div id="register" style="background-color:#FFF;float:left;width:740px;border:1px solid #CCC;">
        <!-- Begin ContentBox -->
  <h2 style="padding-left: 20px;" class="classifiedstitle"><span style="color:#00619C; font-size:20px" >COPY THE FOLLOWING TEXT & PASTE INTO YOUR ASSIGNMENT</span></h2>

  <table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
    <tbody><tr>
      <td valign="middle" align="left">&nbsp;</td>
    </tr>
    <tr>
      <td valign="middle" align="center">
      <table width="99%" align="center" class="font12">
      
      <tr>
      <td align="center" valign="top">
      
    <div style="border:#00619C solid 2px; background-color:#F0F0F0; color:#000; width:auto; height:auto; padding-top:0px;" align="center">
     <?php
$chkbox = $_POST['chk'];
$txtbox = $_POST['txt'];
$country = $_POST['country'];
/*echo "<pre>";

print_r($_POST);
echo "</pre>";*/




foreach($txtbox as $a => $b)



if($b!="")
{
echo  $txtbox[$a].', '.substr($country[$a],0,1).".,";

}


	 
	 
	 /*if($_POST['lastname1']!="")
	 {

echo "ERROR********************";
echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.'.'&'.'  '.$_POST['lastname1'].','.'  '.substr($_POST['firstname1'],0,1).'.'.'('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'<br>doi:'.$_POST['doi']; 
	 }
	 else
	 {*/
		echo $_POST['lastname'].','.'  '.substr($_POST['firstname'],0,1).'.'.'('.$_POST['date'].')'.'.'.'  '.$_POST['title'].'.'.'  '.'<i>'.$_POST['Titleofthejournal'].','.'  '.$_POST['volumenumber'].'</i>'.'('.$_POST['issuenumber'].')'.','.'  '.$_POST['pages'].'<br>doi:'.$_POST['doi']; 
	// }
    ?>
    
    
     </div>
      </td>
      </tr>
        </table>
    
      </td>
    </tr>
    <tr>
      <td valign="middle" align="left">&nbsp;</td>
    </tr>
  </tbody></table>


      </div>      
      
     
      <!-- End contentwarp -->
       <?php include("includes/right_content.php");?>
      <div style="clear:both;"></div>
      
    </div>
    <!-- End mainWarpArea -->
  </div>